﻿using System.Threading.Tasks;

namespace CQRSFramework.Commands
{
    public interface ICommandBus
    {
        Task PublishAsync(ICommand command);
        void Publish(ICommand command);
    }
}
